import std.stdio;

import dice.ui.ui;

void main (char[][] args)
{
	Screen s = new Screen(640,480);
	
	Container c = new Container();
	s.add(c);
	c.rect = Rect(0,0,640,480);
	
	for (int i=0; i<10; i++)
	{
		Gadget g = new Gadget;
		c.add(g);
		g.rect = Rect(i*10, i*10, 100+(i*10), 100+(i*10));
	}
	
	s.redrawAll();
	
	runUI();
}
